package com.qf.framwork.cases.impl;

import com.qf.framwork.cases.ParamsCases;
import org.apache.commons.fileupload.FileItem;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.lang.reflect.Method;
import java.util.Map;

/**
 * ServletRequest对象的转换器
 * description:
 * author: Ken
 * 公众号：Java架构栈
 */
public class HttpServletRequestParamsCases implements ParamsCases {

    @Override
    public Object getParams(Method m, String name, Map<String, FileItem> itemMap, HttpServletRequest request, HttpServletResponse response) {
        return request;
    }
}
